package com.xiaoshuidi.cloud.module.contract.api;


import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.contract.enums.ApiConstants;
import com.xiaoshuidi.cloud.module.contract.vo.ContractRoomReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = ApiConstants.SERVERNAME)
public interface ApprovalApi {
//    /**
//     * 审批通过 和审批驳回 修改合同状态
//     * */
//    @GetMapping(ApiConstants.PREFIX + "/get-approval")
//    CommonResult<String> getApproval(@RequestParam Long apartmentId, @RequestParam String type);

    //查询能否需要审批
    @GetMapping(ApiConstants.PREFIX + "/get-apartment-mark")
    CommonResult<String> getApartmentMark(@RequestParam("apartmentId") Long apartmentId,@RequestParam("status") String status);
}
